tools/python/pyxl: Fix reference counting of Py_(None|True|False)
authorGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:54:44 +0000 (18:54 +0000)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 18:54:44 +0000 (18:54 +0000)
commit5644ab84f714d6e248979e3800b2d48a43be0eaf
treefa39a6305de72872c23b4e28b4b29fa2247f3631
parentbdf80c61cb1f705c0f4472cbd7694c99bca9b0c5
tools/python/pyxl: Fix reference counting of Py_(None|True|False)

The incorrect refcounting causes the python interpreter to crash

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/genwrap.py
tools/python/xen/lowlevel/xl/xl.c